package org.jeecg.modules.travel.carpool.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.travel.carpool.entity.TravelJourney;
import org.jeecg.modules.travel.carpool.entity.TravelCarpool;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @Description: Travel Car
 * @Author: Travel
 * @Date:  2023-03-12
 * @Version: V1.0
 */
public interface TravelJourneyMapper extends BaseMapper<TravelJourney> {
    
    IPage<TravelJourney> selectListByUid(Page<TravelJourney> page, @Param(Constants.WRAPPER) QueryWrapper<TravelJourney> wrapper);

    List<TravelJourney> selectByCid(@Param("cid") Long cid);

}
